//
//  RxSelectors.swift
//  RxObjectDemo
//
//  Created by CaryaLiu on 2021/2/23.
//

extension Selector {
    static let didChangeAuthorizationStatus = #selector(BMKLocationManagerDelegate.bmkLocationManager(_:didChange:))
    static let didChangeAuthorization = #selector(BMKLocationManagerDelegate.bmkLocationManagerDidChangeAuthorization(_:))
    static let didFailWithError = #selector(BMKLocationManagerDelegate.bmkLocationManager(_:didFailWithError:))
    static let didUpdateLocation = #selector((BMKLocationManagerDelegate.bmkLocationManager(_:didUpdate:orError:)) as ((BMKLocationManagerDelegate) -> (BMKLocationManager, BMKLocation?, Error?) -> ())?)
    static let didUpdateHeading = #selector(BMKLocationManagerDelegate.bmkLocationManager(_:didUpdate:))
    static let didUpdateNetworkState = #selector((BMKLocationManagerDelegate.bmkLocationManager(_:didUpdate:orError:)) as ((BMKLocationManagerDelegate) -> (BMKLocationManager, BMKLocationNetworkState, Error?) -> ())?)
    
    static let doRequestAlwaysAuthorization = #selector(BMKLocationManagerDelegate.bmkLocationManager(_:doRequestAlwaysAuthorization:))
}
